package edu.gyu.myshop.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import edu.gyu.myshop.model.Myuser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.gyu.myshop.model.OrderDetail;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ls
 * @since 2024-06-18
 */
public interface MyuserDao extends BaseMapper<Myuser> {
    @Select("SELECT * FROM  myuser order by `id` desc ")
    IPage<Myuser> userPage(Page<?> page);
}
